import { basename } from "path";
import { BasePlugin } from "./BasePlugin";
import { SyncLanguageUtil } from "../util/SyncLanguageUtil";
/**
 * 语言同步插件
 * @author 赵占涛
 */
export class SyncLanguage extends BasePlugin{
    getName(): string {
        return "同步语言";
    }    
    getDesc(): string {
        return "无参数，分覆盖掉程序下的语言";
    }
    do(args: string[], cb:()=>void): void {
        SyncLanguageUtil.exec(()=>{
            console.log("sync language ok");
            cb();
        })
    }


}